﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AnguaRPGEngine.Library.Systems
{
    public class PlayerPCPair
    {
        public GuidStringPair PlayerInfo;
        public GuidStringPair PlayerCharacterInfo;
        public PlayerPCPair()
        {
        }
        public PlayerPCPair(GuidStringPair playerInfo, GuidStringPair playerCharacterInfo)
        {
            this.PlayerInfo = playerInfo;
            this.PlayerCharacterInfo = playerCharacterInfo;
        }
        public static ListView.ColumnHeaderCollection GetHeaders(ListView owner)
        {
            ListView.ColumnHeaderCollection columns = new ListView.ColumnHeaderCollection(owner);
            columns.Add("Player Name", 100);
            columns.Add("Character Name", 100);
            return columns;
        }
        public ListViewItem GetItem()
        {
            ListViewItem lvi = new ListViewItem();
            lvi.SubItems.Add(PlayerInfo.Name);
            lvi.SubItems.Add(PlayerCharacterInfo.Name);
            return lvi;
        }
    }
}
